[公司伺服器維護]虛擬機Proxmox在task list 顯示Error command 'apt-get update' failed exit code 100

發佈時間:2025-11-07

顯示:Error command ‘apt-get update’ failed exit code 100;

問題:

虛擬機Proxmox在task list 顯示Error command 'apt-get update' failed exit code 100;

規格 :

OS :
16gb ram
VM : Proxmox 8.4.0 / Virtual Environment 8.4.0

解決方法

根據下列圖示設置即可;

1.根據順序選擇it,再點擊Shell;

Proxmox Shell

2.點擊Shell跳出此介面,輸入sudo nano /etc/apt/sources.list ;

Proxmox Shell

3.Shell介面;

Proxmox Shell

4.修改sources.list, 把沒有用的加入 #, 記著要先保存及離開;

deb http://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware

5.最後輸入 apt-get update; apt-get install libc-bin; apt-get install -f

然後重新啟動Server;

標簽: Server Maintenance

聯絡我們